
 /**
 * Entity.java.java.
 * User: BrianChen Date: 2012-6-4 下午09:24:28
 *
 * Copyright (c) 2009 Hewlett-Packard Development Company, L.P.
 * All rights reserved.
 */
package com.collapsar.core.orm.model;

/**
 * <pre>
 * REVISIONS: 
 * Version 	Date 		Author 			Description
 * ------------------------------------------------------------------- 
 * 1.0 		2012-6-4 	BrianChen 	1. Created this class. 
 * </pre>
 * 
 * @author BrianChen
 * @date 2012-6-4 下午09:24:28
 * @version 1.0
 * @see
 * 
 */
@SuppressWarnings("serial")
public abstract class Entity extends DomainModel{
	private Long id = null;
	private String lastOperator = null;
	private String lastModifyDate = null;
	
	public boolean isNew(){
		return this.id == null;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLastOperator() {
		return lastOperator;
	}

	public void setLastOperator(String lastOperator) {
		this.lastOperator = lastOperator;
	}

	public String getLastModifyDate() {
		return lastModifyDate;
	}

	public void setLastModifyDate(String lastModifyDate) {
		this.lastModifyDate = lastModifyDate;
	}
	
	
	
}

